POV-Ray : Newsgroups : povray.beta-test : bug - interpolate 2 : bug - interpolate 2 Server Time
30 Jun 2024 12:58:13 EDT (-0400)
  bug - interpolate 2  
From: Rafal 'Raf256' Maj
Date: 29 Apr 2004 21:08:35
Message: <Xns94DB1FBCC42DAraf256com@203.29.75.35>
It looks like a real bug this time, new to 3.6.beta4.win32, NOT present in 
3.5.win32

Using interpolate 2 with density_file gives strange results.
Value 2 is invalid (should be 0 or 1).
Any other value Ive tested (3,4,5) results in no image at all.

Value 2 results in strange pixelized image (worse quality then without any 
interpolation).

Code:

// bug found by Rafal Maj raf256.com
// strange effect when using illegal interpolate 2 for density file
// confirmed PRESENT in: PovRay 3.6.beta4.win32
// confirmed   NOT   in: PovRay 3.5.win32
// render with any options, i.e.: +w640 +h480 +a0.02 +am2 +ar2 +fn

box { 0, 1
  pigment { color rgbt 1 }
	interior {
		media {  emission 3
	    density { density_file df3 "spiral.df3" 
        interpolate 2 // <------- illegal, should be 0 or 1 !
			}
	  }
	}
	hollow translate z*1-.5
}

image in .b-t.binaries





-- 
http://www.raf256.com/3d/
Rafal Maj 'Raf256', home page - http://www.raf256.com/me/
Computer Graphics


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.